<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			function person(name,age){
				this.name=name;
				this.age=age;
				this.say=function(){
					alert("你好");
				}
			}
			var p1=new person("张三",11);
			
		</script>
	</body>
</html>
